package top.maof.book.service;

import com.baomidou.mybatisplus.extension.service.IService;
import top.maof.book.result.PageData;
import top.maof.book.result.PageWrap;
import top.maof.book.vo.PageVo;
import top.maof.book.model.Comment;
import top.maof.book.vo.CommentVo;

public interface CommentService extends IService<Comment> {
    public PageData<Comment> findPage(PageWrap<Comment> pageWrap);

    Comment find(Integer id);

    int insert(Comment c);

    PageVo list(Integer bookId, Integer page, Integer pageSize);

    CommentVo get(Integer id);
}
